home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19980901-19981211 / 000091_news@newsmaster….columbia.edu _Thu Oct 1 10:33:57 1998.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA01187
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Thu, 1 Oct 1998 10:33:54 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id KAA05848
  7.     for kermit.misc@watsun; Thu, 1 Oct 1998 10:33:53 -0400 (EDT)
  8. Path: news.columbia.edu!news.new-york.net!mobster.newyork.wirehub.net!newsfeed.wirehub.nl!ayres.ftech.net!news.ftech.net!newsfeed.nacamar.de!nntp.news.xara.net!xara.net!server5.netnews.ja.net!server3.netnews.ja.net!server4.netnews.ja.net!server2.netnews.ja.net!bham!not-for-mail
  9. From: Brian McCauley <B.A.McCauley@bham.ac.uk>
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: Telnet disconnect
  12. Date: 01 Oct 1998 13:09:19 +0100
  13. Organization: Wolfson Computer Lab, University of Birmingham, England
  14. Lines: 34
  15. Message-ID: <u9hfxoqya8.fsf@wcl-l.bham.ac.uk>
  16. References: <F04wA5.DqL@cix.compulink.co.uk>
  17. NNTP-Posting-Host: wcl-l.bham.ac.uk
  18. X-Newsreader: Gnus v5.3/Emacs 19.34
  19. Xref: news.columbia.edu comp.protocols.kermit.misc:9274
  20.  
  21. lsystemsd@cix.compulink.co.uk ("Lygo Systems") writes:
  22.  
  23. > I have a number of users connecting with MS-DOS Kermit telnet sessions 
  24. > into Redhat Linux (4.2 & 5.1).  If they close the connection with the 
  25. > normal Kermit exit command without first logging off, then the telnet 
  26. > session is closed on Linux which is just what I want.  If, however, they 
  27. > reboot their PC with ALT CTL DEL then the session stays active.
  28. > The reason that this is a problem is that they are running the Pick/D3 
  29. > database which has a limited number of active users allowed to be logged 
  30. > on at the same time.  If they reboot their PC then that will effectively 
  31. > lose one user unless the previous session is automatically logged off.  
  32. > Pick has a couple of commands that in theory should deal with the 
  33. > situation: DCD-ON and TRAP DCD EXIT.  In other words if DCD is lost then 
  34. > the session should be automatically closed.  But it ain't happening...
  35.  
  36. The TCP connection is implemented over the connectionless IP layer -
  37. there is no "carrier".  The only way that TCP gets to find out that
  38. the PC has been rebooted is if it sends an IP packet.  It only does
  39. this if there's something to send.
  40.  
  41. There is such a thing as a TCP keepalive option.  This will cause TCP
  42. connections to timeout eventually but not soon.
  43.  
  44. I guess you could hack the telnetd to send a telnet NOP
  45. periodically as a sort of application level keepalive. 
  46.  
  47. -- 
  48.      \\   ( )  No male bovine  | Email: B.A.McCauley@bham.ac.uk
  49.   .  _\\__[oo   faeces from    | Phones: +44 121 471 3789 (home)
  50.  .__/  \\ /\@  /~)  /~[   /\/[ |   +44 121 627 2173 (voice) 2175 (fax)
  51.  .  l___\\    /~~) /~~[  /   [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
  52.   # ll  l\\  ~~~~ ~   ~ ~    ~ | http://www.wcl.bham.ac.uk/~bam/
  53.  ###LL  LL\\ (Brian McCauley)  |